find the largest divisor